import {
	http
} from "@/utils/http";
export const getOrderList = (data : any) => {
	return http({
		url: "/ysOrder/querys",
		method: "GET",
		data
	});
};

//根据id查订单详情

export const getOrderDetail = (data : any) => {
	return http({
		url: "/ysOrder/queryId",
		method: "GET",
		data
	});
};

//根据id查下级

export const getSub = (data : any) => {
	return http({
		url: "/user/queryBelow",
		method: "GET",
		data
	});
};